package com.example.houduan.common.lang;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
public class RegisterUser implements Serializable {
    @NotBlank(message = "用户名不能为空")
    String username;
    @NotBlank(message = "email不能为空")
    String email;
    @NotBlank(message = "头像不能为空")
    String avatar;
    @NotBlank(message = "密码不能为空")
    String password;
    @NotBlank(message = "验证码不能为空")
    String code;

}
